import Service from "@/service";

//通过参数获取所有字典数据
export function getDictData(params: any) {
    return Service.get('/api/dictData/getDataByParams', {params})
}

//分页查询字典数据
export function getDictDataByPage(params: any) {
    return Service.get('/api/dictData/getDictDataByPage', {params})
}

//保存字典信息
export function saveDictData(params: any) {
    return Service.post('/api/dictData/save', params)
}

export function delDictData(params: any) {
    return Service.post('/api/dictData/del', params)
}
